package com.carbonspark.deepSeekAPI.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * AI服务fegin
 */
@FeignClient("CarbonSpark-Ai-deepSeek-dev")
public interface DeepSeekFeignService {

    @PostMapping("/chat")
    public String chat(@RequestBody String message);
}
